﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="ParameterSetting.aspx.cs"
    Inherits="LabMS.Web.Parameters.ParameterSetting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>系统参数设置</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->
</head>
<body class="mainBody">
    <form id="uiForm" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        系统参数设置</label>
                </div>
            </div>
        </div>
        <div class="main">
            <table cellpadding="2" cellspacing="0" border="0">
                <tr>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>学年</span>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlYear" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>学期<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlSem" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        <span>开放项目是否需要审批<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:RadioButton ID="rb1" runat="server" Text="是" Checked="true" GroupName="s" CssClass="radio" />
                        <asp:RadioButton ID="rb11" runat="server" Text="否" GroupName="s" CssClass="radio" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>实验项目编号是否自动生成<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:RadioButton ID="rb2" runat="server" Text="是" Checked="true" GroupName="p" CssClass="radio" />
                        <asp:RadioButton ID="rb22" runat="server" GroupName="p" Text="否" CssClass="radio" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>实验预约应提前几天<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:TextBox ID="tb1" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>取消预约应提前几天<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:TextBox ID="tb2" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <span>学生必须提交预习报告?<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:RadioButton ID="rb3" runat="server" GroupName="g" Text="是" CssClass="radio" />
                        <asp:RadioButton ID="rb33" runat="server" GroupName="g" Text="否" Checked="true" CssClass="radio" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>学生提交预习报告应提前几天<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:TextBox ID="tb3" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>成绩的及格分数线<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:TextBox ID="tb4" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>成绩制选择<font color="red">*</font></span>
                    </td>
                    <td>
                        <asp:RadioButton ID="rb4" runat="server" GroupName="a" Text="百分制" CssClass="radio" />
                        <asp:RadioButton ID="rb44" runat="server" GroupName="a" Text="等级制" Checked="true"
                            CssClass="radio" /></td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" Text="保存" CssClass="button" OnClick="btnSave_Click" /></td>
                </tr>
            </table>
            <asp:HiddenField ID="hd" runat="server" />
        </div>
    </form>
</body>
</html>

<script type="text/javascript" src="../js/jQuery/jquery-1.3.1.js"></script>

<script type="text/javascript" src="../js/jQuery/jquery.tooltip.js"></script>

<script type="text/javascript" src="../js/jQuery/jquery.bgiframe.js"></script>

<script type="text/javascript" src="../js/jQuery/jquery.validate.js"></script>

<script type="text/javascript" src="../js/site.js"></script>

<script type="text/javascript">
$(function(){
    $("#uiForm").validate({
        rules:{
            tb1:{
                number:true,
                maxlength:4
            },
            tb2:{
                number:true,
                maxlength:4
            },
            tb3:{
                number:true,
                maxlength:4
            }
        },
        messages:  {
            tb1:{
                number:"请输入数字",
                maxlength:"长度不能超过4位"
            },
            tb2:{
                number:"请输入数字",
                maxlength:"长度不能超过4位"
            },
            tb3:{
                number:"请输入数字",
                maxlength:"长度不能超过4位"
            }
        }
    });
});
</script>

